package com.wnn.demo.model.task.service.impl;

import com.wnn.demo.domain.Feedback;
import com.wnn.demo.model.task.mapper.FeedbackMapper;
import com.wnn.demo.model.task.service.FeedbackService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class feebackServiceImpl implements FeedbackService {

	private FeedbackMapper feedbackMapper;

	@Override
	public void save(Feedback feedback) {
		feedbackMapper.save(feedback);
	}

	@Override
	public Feedback selectOne(String id) {
		Feedback feedback = feedbackMapper.selectOne(id);
		return feedback;
	}
}
